$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;
$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .container {
    .banner {
      width: 100%;
      position: relative;

      &::before {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        background: linear-gradient(110deg, #C9DBEC 0.46%, #C8D7EA 11.4%, rgba(225, 236, 249, 0.96) 34.4%, rgba(234, 245, 255, 0.86) 46.39%, rgba(234, 245, 255, 0.31) 61.38%, rgba(234, 245, 255, 0.00) 88.26%);
      }

      .bg {
        img {
          width: 100%;
          display: block;
          object-fit: cover;
        }
      }

      .text {
        position: absolute;
        left: 10vw;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;

        .p1 {
          color: #030303;
          font-size: $fontSize_54;
          font-weight: bold;
          display: flex;
          align-items: flex-start;

          svg {
            width: 21/$f+vw;
            display: block;
            margin: 0.7vw 0 0 0.7vw;
          }
        }

        .p2 {
          color: #464646;
          font-size: $fontSize_36;
          margin-top: 0.6vw;
            font-family: 'SourceHanSansCN-Light';;
          text-transform: capitalize;
        }
      }
    }

    .section1 {
      background: url(../images/abg.png) no-repeat;
      background-size: cover;
      text-align: center;
      padding: 6vw 0;

      .t {
        p {
          color: #000;
          font-size: $fontSize_36;
          font-weight: 600;
          position: relative;
          width: fit-content;
          margin: 0 auto 0.8vw auto;
        }

        svg {
          width: 96/$f+vw;
        }
      }

      .des {
        color: #464646;
        font-size: $fontSize_22;
        width: 50%;
        margin: 1.5vw auto;
        line-height: 1.7;
          font-family: 'SourceHanSansCN-Light';;
      }
    }

    .section2 {
      padding: 6vw 10vw 10vw 10vw;
      position: relative;
      .fbg {
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: -1;
  
        img {
          width: 1377/$f+vw;
          max-width: 100%;
          object-fit: contain;
        }
      }
      .t {
        text-align: center;

        p {
          color: #000;
          font-size: $fontSize_40;
          font-weight: 600;
          position: relative;
          width: fit-content;
          margin: 0 auto 0.8vw auto;
        }

        svg {
          width: 96/$f+vw;
        }
      }

      .list {
        .item {
          display: flex;
          justify-content: space-between;
          margin-top: 4vw;
          align-items: center;
          .pic {
            width: 50%;
            background: #F4F9FF;
            text-align: center;
            overflow: hidden;
            img {
              max-width: 100%;
              object-fit: contain;
              transition: all 600ms;
            }
          }

          .text {
            width: 40%;
            padding: 0 5%;

            .pt {
              border-bottom: 1px solid #CFCFCF;
              p {
                color: #000;
                font-size: $fontSize_36;
                font-weight: 600;
                position: relative;
                width: fit-content;
                margin-bottom: 1vw;
                transition: all 600ms;
              }

              svg {
                width: 96/$f+vw;
                display: block;
                margin: 0 0 -1px -2px;
              }
            }
            .des{
              color: #464646;
              font-size: $fontSize_22;
              margin-top: 0.4vw;
              font-family: 'SourceHanSansCN-Light';
              p{
                margin-bottom: 0.2vw;
                line-height: 1.6;
                font-family: 'SourceHanSansCN-Light';
              }
              span{
                color: rgba(70, 70, 70, 0.60);
                font-size: $fontSize_16;
                display: block;
                margin-top: 0.4vw;
              }
            }
          }
          &:hover{
            .pic{
              img{
                transform: scale(1.05);
              }
            }
            .text{
              .pt{
                p{
                  color:rgba(0, 106, 181, 1);
                }
              }
            }
          }
        }
        .item:nth-child(2n){
          flex-direction: row-reverse;
          .text{
            padding: 0 5% 0 0;
          }
        }
      }
    }

    .section3 {
      background: url(../images/abg2.png) no-repeat;
      background-size: cover;
      text-align: center;
      padding: 7vw 0;
      .t{
        color: #000;
        font-size: $fontSize_36;
        font-weight: 600;
      }
      .t2{
        color: #464646;
        font-size: $fontSize_22;
          font-family: 'SourceHanSansCN-Light';;
        margin-top: 2vw;
      }
    }
  }



  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .container{
      .banner{
        .bg{
          img{
            height: 150px;
          }
        }
        .text{
          left: 5%;
          .p1{
            font-size:24px;
            svg{
              width: 10px;
            }
          }
          .p2{
            font-size: 18px;
          }
        }
      }
      .section1{
        padding: 40px 0;
        .t{
          p{
            font-size: 18px;
            margin-bottom: 0;
          }
          svg{
            display: block;
            margin: 10px auto;
            width: 50px;
          }
        }
        .des{
          font-size: 14px;
          width: 90%;
        }
      }
      .section2{
        padding: 30px 5%;
        .t{
          p{
            font-size: 18px;
            margin-bottom: 0;
          }
          svg{
            display: block;
            margin: 10px auto;
            width: 50px;
          }
        }
        .list{
          .item{
            margin-top: 30px;
            flex-direction: column !important;
            .pic{
              width: 100%;
            }
            .text{
              padding: 20px 0 !important;
              width: 100%;
              .pt{
                p{
                  font-size: 18px;
                  margin-bottom: 0;
                }
                svg{
                  display: block;
                  margin: 10px 0 -1px 0;
                  width: 50px;
                }
              }
              .des{
                font-size: 14px;
                margin-top: 10px;
                span{
                  font-size: 14px;
                }
              }
            }
          }
        }
      }
      .section3{
        padding: 40px 5%;
        .t{
          font-size: 18px;
          line-height: 1.6;
        }
        .t2{
          font-size: 14px;
          margin-top: 15px;
        }
      }
    }
  }
}